package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BArticleTypeInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 文章类型信息表
 *
 * @author xss
 * @email dustwas@163.com
 * @date 2019-03-11 10:20:10
 */
@Mapper
public interface BArticleTypeInfoDao extends BaseMapper<BArticleTypeInfoEntity> {
	List<BArticleTypeInfoEntity> queryAll();

    BArticleTypeInfoEntity queryByName(@Param("articleTypeName") String articleTypeName);

    List<Integer> queryByNameLike(@Param("articleTypeName") String articleTypeName);

    String queryById(Integer id);

    Integer queryByStr(String articleTypeName);
}
